package com.paiai.lslease.service.appuser;

import java.sql.SQLException;

import com.paiai.lslease.auto.model.AppSocket;
import com.paiai.lslease.base.AppResult;
import com.paiai.lslease.model.bo.MobileModifyBo;


/** 
* @author chenmfa
* @version 创建时间：2017年10月20日 上午8:33:15 
* @description
*/
public interface AppUserModuleService {
  /**
   * @description 修改用户手机号码
   * @throws SQLException
   */
  public AppResult updateUserMobile(MobileModifyBo record) throws SQLException;
  
  /**
   * @description 添加网关插头
   * 
   */
  public AppResult addUserGateway(AppSocket socket,String account) throws SQLException;
  /**
   * @description 修改网关wifi
   * @param socket
   */
  public int updateGateWifi(AppSocket socket) throws SQLException;
  /**
   * @description 删除网关
   * @param mac
   */
  public int deleteGateWifi(String mac) throws SQLException;
  /**
   * @description 查询用户网关
   * @param mac
   */
  public AppResult queryUserSocket(String mobile, String mac) throws SQLException;
  /**
   * @description 查询用户信息
   * @param mobile
   */
  public AppResult queryMyInfo(String mobile) throws SQLException;
}
